package com.ruoyi.project.members.order.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Order {
    private static final long serialVersionUID = 1L;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Integer orderId;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String companyName;

    /** 主持人姓名 */
    private String orderHostname;

    /** 主持人电话 */
    private String orderHostphone;

    /** 典礼日期 */
    @Excel(name = "典礼日期", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date orderCeremonydate;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String orderCustomerName;

    /** 联系人电话 */
    @Excel(name = "联系人电话")
    private String orderPhone;

    /** 酒店名称 */
    @Excel(name = "酒店名称")
    private String orderHotel;

    /** 酒店地址 */
    @Excel(name = "酒店地址")
    private String orderAddress;

    /** 备注 */
    @Excel(name = "备注")
    private String orderRemarke;

    /** 下单时间 */
    @Excel(name = "下单时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderCreatetime;

    /** 订单金额 */
    @Excel(name = "订单金额")
    private Integer orderPrice;

    /** 付款状态（0已支付，1未支付） */
    @Excel(name = "付款状态", readConverterExp = "0=已支付，1未支付")
    private Integer orderPaystate;

    /** 客户类型（0新人，1婚庆公司） */
    @Excel(name = "客户类型", readConverterExp = "0=新人，1婚庆公司")
    private Integer orderCustomertype;



    /** 订单状态（0未主持，1已主持，2已删除） */
    private Integer orderState;

    /** 主持人id */
    private Long orderHostId;

    /** 下订单用户的user_id */
    private Long orderUserId;

    /** 被下订单主持人的use_rid */
    @Excel(name = "被下订单主持人的use_rid")
    private Long orderHostUserid;

    /** 典礼时间（0全天,1上午,2下午） */
    private Integer orderCeremonytime;

    /** 订单时段（0上午空闲，1上午有单） */
    private Integer orderMorningtime;

    /** 订单时段（0下午空闲，1下午有单） */
    private Integer orderAfternoontime;

    /** 微信支付商户订单号 */
    @Excel(name = "微信支付商户订单号")
    private String orderWxpayId;
    /** 下单时间字符串格式 */
    private String sorderCreatetime;
    /**典礼时间-开始时间*/
    private Date startOrderCeremonydate;
    /**典礼时间-开始时间*/
    private Date stopOrderCeremonydate;

    public Date getStartOrderCeremonydate() {
        return startOrderCeremonydate;
    }

    public void setStartOrderCeremonydate(Date startOrderCeremonydate) {
        this.startOrderCeremonydate = startOrderCeremonydate;
    }

    public Date getStopOrderCeremonydate() {
        return stopOrderCeremonydate;
    }

    public void setStopOrderCeremonydate(Date stopOrderCeremonydate) {
        this.stopOrderCeremonydate = stopOrderCeremonydate;
    }

    public String getSorderCreatetime() {
        return sorderCreatetime;
    }

    public void setSorderCreatetime(String sorderCreatetime) {
        this.sorderCreatetime = sorderCreatetime;
    }



    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public void setOrderId(Integer orderId)
    {
        this.orderId = orderId;
    }

    public Integer getOrderId()
    {
        return orderId;
    }
    public void setOrderHostname(String orderHostname)
    {
        this.orderHostname = orderHostname;
    }

    public String getOrderHostname()
    {
        return orderHostname;
    }
    public void setOrderHostphone(String orderHostphone)
    {
        this.orderHostphone = orderHostphone;
    }

    public String getOrderHostphone()
    {
        return orderHostphone;
    }
    public void setOrderCeremonydate(Date orderCeremonydate)
    {
        this.orderCeremonydate = orderCeremonydate;
    }

    public Date getOrderCeremonydate()
    {
        return orderCeremonydate;
    }
    public void setOrderCustomerName(String orderCustomerName)
    {
        this.orderCustomerName = orderCustomerName;
    }

    public String getOrderCustomerName()
    {
        return orderCustomerName;
    }
    public void setOrderPhone(String orderPhone)
    {
        this.orderPhone = orderPhone;
    }

    public String getOrderPhone()
    {
        return orderPhone;
    }
    public void setOrderHotel(String orderHotel)
    {
        this.orderHotel = orderHotel;
    }

    public String getOrderHotel()
    {
        return orderHotel;
    }
    public void setOrderAddress(String orderAddress)
    {
        this.orderAddress = orderAddress;
    }

    public String getOrderAddress()
    {
        return orderAddress;
    }
    public void setOrderRemarke(String orderRemarke)
    {
        this.orderRemarke = orderRemarke;
    }

    public String getOrderRemarke()
    {
        return orderRemarke;
    }
    public void setOrderCreatetime(Date orderCreatetime)
    {
        this.orderCreatetime = orderCreatetime;
    }

    public Date getOrderCreatetime()
    {
        return orderCreatetime;
    }
    public void setOrderPrice(Integer orderPrice)
    {
        this.orderPrice = orderPrice;
    }

    public Integer getOrderPrice()
    {
        return orderPrice;
    }
    public void setOrderPaystate(Integer orderPaystate)
    {
        this.orderPaystate = orderPaystate;
    }

    public Integer getOrderPaystate()
    {
        return orderPaystate;
    }
    public void setOrderCustomertype(Integer orderCustomertype)
    {
        this.orderCustomertype = orderCustomertype;
    }

    public Integer getOrderCustomertype()
    {
        return orderCustomertype;
    }
    public void setOrderState(Integer orderState)
    {
        this.orderState = orderState;
    }

    public Integer getOrderState()
    {
        return orderState;
    }
    public void setOrderHostId(Long orderHostId)
    {
        this.orderHostId = orderHostId;
    }

    public Long getOrderHostId()
    {
        return orderHostId;
    }
    public void setOrderUserId(Long orderUserId)
    {
        this.orderUserId = orderUserId;
    }

    public Long getOrderUserId()
    {
        return orderUserId;
    }
    public void setOrderHostUserid(Long orderHostUserid)
    {
        this.orderHostUserid = orderHostUserid;
    }

    public Long getOrderHostUserid()
    {
        return orderHostUserid;
    }
    public void setOrderCeremonytime(Integer orderCeremonytime)
    {
        this.orderCeremonytime = orderCeremonytime;
    }

    public Integer getOrderCeremonytime()
    {
        return orderCeremonytime;
    }
    public void setOrderMorningtime(Integer orderMorningtime)
    {
        this.orderMorningtime = orderMorningtime;
    }

    public Integer getOrderMorningtime()
    {
        return orderMorningtime;
    }
    public void setOrderAfternoontime(Integer orderAfternoontime)
    {
        this.orderAfternoontime = orderAfternoontime;
    }

    public Integer getOrderAfternoontime()
    {
        return orderAfternoontime;
    }
    public void setOrderWxpayId(String orderWxpayId)
    {
        this.orderWxpayId = orderWxpayId;
    }

    public String getOrderWxpayId()
    {
        return orderWxpayId;
    }

    @Override
    public String toString() {
        return "Order{" +
                "orderId=" + orderId +
                ", companyName='" + companyName + '\'' +
                ", orderHostname='" + orderHostname + '\'' +
                ", orderHostphone='" + orderHostphone + '\'' +
                ", orderCeremonydate=" + orderCeremonydate +
                ", orderCustomerName='" + orderCustomerName + '\'' +
                ", orderPhone='" + orderPhone + '\'' +
                ", orderHotel='" + orderHotel + '\'' +
                ", orderAddress='" + orderAddress + '\'' +
                ", orderRemarke='" + orderRemarke + '\'' +
                ", orderCreatetime=" + orderCreatetime +
                ", orderPrice=" + orderPrice +
                ", orderPaystate=" + orderPaystate +
                ", orderCustomertype=" + orderCustomertype +
                ", orderState=" + orderState +
                ", orderHostId=" + orderHostId +
                ", orderUserId=" + orderUserId +
                ", orderHostUserid=" + orderHostUserid +
                ", orderCeremonytime=" + orderCeremonytime +
                ", orderMorningtime=" + orderMorningtime +
                ", orderAfternoontime=" + orderAfternoontime +
                ", orderWxpayId='" + orderWxpayId + '\'' +
                '}';
    }
}
